// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:27

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   sx.java

package com.zelix;


public class sx
    implements Comparable
{

    protected int a;

    public sx(int i)
    {
        a = i;
    }

    public int compareTo(Object obj)
    {
        sx sx1 = (sx)obj;
        if(a < sx1.a)
            return -1;
        return a != sx1.a ? 1 : 0;
    }

    public int a()
    {
        a--;
        return a;
    }

    public boolean equals(Object obj)
    {
        if(obj != null && (obj instanceof sx))
            return a == ((sx)obj).a;
        else
            return false;
    }

    public int b()
    {
        return a;
    }

    public int hashCode()
    {
        return a;
    }

    public int c()
    {
        a++;
        return a;
    }

    public void a(int i)
    {
        a = i;
    }
}